package org.gap.web.jsf;

import java.util.List;

import org.gap.domain.Roles;
import org.gap.domain.RolesTiers;

/**
 * Spring Component that handles CRUD requests for Roles entities
 * 
 */
public interface RolesComponent {

	/**
	 * Select an existing Roles entity
	 * 
	 */
	public String selectRoles(String rolRoleKey);

	/**
	 * Save an existing RolesTiers entity
	 * 
	 */
	public String saveRolesRolesTierses(String roles_rolRole, RolesTiers rolestiers);

	/**
	 * Show all RolesTiers entities by Roles
	 * 
	 */
	public List<RolesTiers> listRolesRolesTierses(String rolRoleKey_1);

	/**
	 * Edit an existing RolesTiers entity
	 * 
	 */
	public String editRolesRolesTierses(String roles_rolRole_1, String related_rolestierses_rotRole, Integer related_rolestierses_rotTiers);

	/**
	 * Delete an existing Roles entity
	 * 
	 */
	public String deleteRoles(String rolRoleKey_2);

	/**
	 * Edit an existing Roles entity
	 * 
	 */
	public String editRoles(String rolRoleKey_3);

	/**
	 * View an existing RolesTiers entity
	 * 
	 */
	public String selectRolesRolesTierses(String roles_rolRole_2, String related_rolestierses_rotRole_1, Integer related_rolestierses_rotTiers_1);

	/**
	 * Select the Roles entity for display allowing the user to confirm that they would like to delete the entity
	 * 
	 */
	public String confirmDeleteRoles(String rolRoleKey_4);

	/**
	 * Delete an existing RolesTiers entity
	 * 
	 */
	public String deleteRolesRolesTierses(String roles_rolRole_3, String related_rolestierses_rotRole_2, Integer related_rolestierses_rotTiers_2);

	/**
	 * Create a new Roles entity
	 * 
	 */
	public String newRoles();

	/**
	 * Save an existing Roles entity
	 * 
	 */
	public String saveRoles(Roles roles);

	/**
	 * Create a new RolesTiers entity
	 * 
	 */
	public String newRolesRolesTierses(String roles_rolRole_4);

	/**
	 * Getter for variable Roles
	 * 
	 */
	public RolesTiers getRolestierses();

	/**
	 * Select the child RolesTiers entity for display allowing the user to confirm that they would like to delete the entity
	 * 
	 */
	public String confirmDeleteRolesRolesTierses(String roles_rolRole_5, String related_rolestierses_rotRole_3, Integer related_rolestierses_rotTiers_3);

	/**
	 * Show all Roles entities
	 * 
	 */
	public List<Roles> listRoless();

	/**
	 * Getter for variable Roles
	 * 
	 */
	public Roles getRoles();
}